FROM java:8-jdk
VOLUME /tmp

#ENV RABBITMQ_HOST=""
#ENV RABBITMQ_PORT=5672
#ENV RABBITMQ_USERNAME=""
#ENV RABBITMQ_PASSWORD=""
#
#ENV SERVER_PORT=8000
#ENV GIT_URL=""
#ENV GIT_USERNAME=""
#ENV GIT_PASSWORD=""
#ENV GIT_PATH=""
#ENV GIT_MASTER=""

EXPOSE 8100

ADD monitor.jar /app.jar
RUN bash -c 'touch /app.jar'

ENV JAVA_OPTS=""

ENTRYPOINT ["sh", "-c","java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /app.jar"]
